package com.hoshiibuy.spu.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * SPU禁售地区实体
 *
 * @author : yangcheng
 * @date : 2019/5/5 09:31
 * @mail : maiboyc@163.com
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ExtSpuProhibit extends BaseEntity {

    // spuId
    @NotNull(message = "spuId不能为空")
    @ApiModelProperty(name = "spuid", value = "spuId", required = true, dataType = "java.lang.Long", example = "3171776001692664000")
    private Long spuid;

    // 地区ID
    @NotNull(message = "地区ID不能为空")
    @ApiModelProperty(name = "zoneid", value = "地区ID", required = true, dataType = "java.lang.Long", example = "3171776001692664001")
    private Long zoneid;

}  